package com.ghj.pojo;

/**
 * @author ghj
 * @create 2023-06-14 23:27
 */
public class User {
    private String name;

    User(String name){
        this.name = name;
        System.out.println("user被创建了");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show(){
        System.out.println("name="+name);
    }

}
